package com.example.soa_exp2.Service;

import com.example.soa_exp2.Domain.Student;

import java.util.List;

public interface StudentService {

    List<Student> getStudentList();

    Student getStudentByNum(String num);

    List<Student> getStudentByName(String name);

    int addStudent(Student student);

    int deleteStudentById(String stu_num);

    int updateStudentById(Student student);
}
